/**
 * @Author DengJia
 * @Date 2021/8/13 22:11
 * @Description
 */

public class PersonEatApple {
    public static void main(String[] args) {
        new Person().eat(new Apple());
    }
}

class Person {
    public void eat(Apple apple) {
        Apple peeled = apple.getPeeled();
        System.out.println("好吃~😋");
    }
}

class Apple {
    public Apple getPeeled() {
        return Peeler.peel(this);
    }
}

class Peeler {
    public static Apple peel(Apple apple) {
        // 去皮
        return apple;
    }
}
